const {basename,dirname,extname} = require('path');

const filePath='/user/local/bin/no.txt';

console.log(basename(filePath))
console.log(dirname(filePath))
console.log(extname(filePath))
